package com.spddr.pmos.cxf;

import java.text.ParseException;
import java.util.List;

import javax.ws.rs.GET;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.QueryParam;

import com.spddr.pmos.jpa.ContractPlan;
import com.spddr.pmos.jpa.PowerGridPlanForPlant;

import cn.seqdata.cxf.repos.JaxrsRepository;

@Path("/contractPlan")
public interface JaxrsContractPlan extends JaxrsRepository<ContractPlan, Long> {
	@PUT
	@Path("/saveall/{param}")
	Integer saveall(@PathParam("param") String param);
	@GET
	@Path("/all")
	List<ContractPlan> findAll(@QueryParam("id")Long id)throws ParseException;
}
